@section("header")
    <link rel="stylesheet" href="{{asset(env('CDN_HOST')."/public/css/commodity/header.css")}}">
    <nav id="header" class="header">
        <div class="header-top">
            <div class="htop_div htop_index">
                <i class="fa htop-fa fa-home" aria-hidden="true"></i>
            </div>
            <div class="htop_div htop_logo">
                一冉再的商城
            </div>
            <div class="htop_div htop_search">
                <i class="fa htop-fa fa-search" aria-hidden="true"></i>
            </div>
            <div class="htop_div htop_cart">
                <i class="fa htop-fa fa-shopping-cart" aria-hidden="true"></i>
            </div>
            <div style="clear: both"></div>
        </div>
        <div class="color_bar"></div>
    </nav>
    <div style="clear: both;height: 8vh;width: 100vw;"></div>
    {{--<div class="color_bar"></div>--}}
    <script>
        loading.hide()
        $(".htop_search").click(function () {
            loading.show()
            window.location.href = '/search'
        })
        $(".htop_cart").click(function () {
            loading.show()
            window.location.href = '/cart'
        })
        $(".htop_index").click(function () {
            loading.show()
            window.location.href = '/'
        })
    </script>
@endsection